package flowise.entity;

import lombok.Data;

import java.util.List;
import java.util.Map;

/**
 * @author huangya
 * @date 2024/1/29
 */
@Data
public class NodeParams {

    private String label;
    private String name;
    // NodeParamsType枚举
    private String type;
    // CommonType 基本类型 CommonType | ICommonObject | ICommonObject[]
    // todo.. 111111 default改为commonDefault
    private String commonDefault;
    private String warning;
    // Array<INodeOptionsValue>
    private List<NodeOptionsValue> options;
    // ICommonObject
    private List<Map<String, Object>> datagrid;
    private List<String> credentialNames;
    // boolean | INodeDisplay
    private Object optional;
    private Integer step;
    private Integer rows;
    private boolean list;
    private boolean acceptVariable;
    private String placeholder;
    private String fileType;
    private boolean additionalParams;
    private String loadMethod;
    private boolean hidden;
    // ICommonObject[]
    private List<Map<String, Object>> variables;
}
